home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1998 June / Software of the Month Club 1998 June.iso / pc / dos / lg / mapit20 / demo.def < prev    next >
Text File  |  1998-04-15  |  1KB  |  43 lines

  1. ; demo.def  -  Demonstration Geocode definition
  2. ;
  3.  
  4. ;      lookup     input  [length]
  5. KEY:    zip        ZIP      5
  6. key:    state_code state    1        ; avoid non-US addresses
  7.  
  8.  
  9. record match:  geomatched            ; record match count in this field
  10. ;unique:                              ; = 1
  11. ;matched only:                        ; > 0
  12.                                      ; 0 or greater if not specified
  13.  
  14. overwrite output:                    ; Gives error msg if one of these is
  15. ;append output:                      ; NOT defined and output file exists.
  16.  
  17.  
  18. LOOKUP DBF:     ZIPPHONE
  19. lookup mdx:     zipphone             ; Defaults to dbf name.
  20. lookup tag:     def_tag              ; Defaults to def_tag.
  21. lookup exp:     upper(zip)           ; Needed if no mdx exists for lookup dbf.
  22. ;lookup tag:     2nd_tag
  23. ;lookup exp:     upper(city + state_code)
  24. ;lookup tag:     third
  25. ;lookup exp:     county + city
  26.  
  27. INPUT DBF:      XLIST                ; File to be geocoded.
  28. ;input mdx:      xlist
  29.  
  30. OUTPUT DBF:     TEMP
  31. ; Inplace:
  32.  
  33. record distance:  dist
  34. center: 40:35N  79:35w
  35. ;Max Range: 1000
  36. ;Min Range: 100
  37. UNITS:  miles
  38.  
  39. first match:
  40.  
  41. ; match only PA in field  STATE
  42. ;skip 15066 in field Zip 2
  43.